package model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;



@Entity
@DiscriminatorValue("J")
public class UserPJ extends Users{

	private String cnpj;
	
	private String description;
	
	public UserPJ(){
	}
	
	public UserPJ(String nome, String telefone,String address, String username, String password, String role, String cnpj, String description) {
		super(nome, telefone,address, username, password,role);
		this.cnpj = cnpj;
		this.description = description;
	}

	public String getCnpj() {
		return cnpj;
	}

	public void setCnpj(String cnpj) {
		this.cnpj = cnpj;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
